package br.com.nooclix.ptt.ws.utilities;

import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;

public class Utilities {
	
	
	private static SimpleDateFormat dateFormat = new SimpleDateFormat("dd-MM-yyyy");
	
	
	public static Date getDateFromString(String date){
		Date dateToReturn = null;
		try {
			dateToReturn =  dateFormat.parse(date);
		} catch (ParseException e) {
		}	
		return dateToReturn;
	}

}
